package com.yt.order.models.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.util.Date;
import java.io.Serializable;

/**
 * 维修订单详情VO
 *
 * @author thekai
 * @Date 2025-10-30 09:30:13
 */
@Data
public class RepairOrderVO implements Serializable {
    @ApiModelProperty(value = "维修订单 ID")
    private Long id;
    @ApiModelProperty(value = "乐观锁")
    private Integer revision;
    @ApiModelProperty(value = "下单学生 ID（关联 student_info 表）")
    private Long studentId;
    @ApiModelProperty(value = "维修房间 ID（关联 dorm_room 表）")
    private Long roomId;
    @ApiModelProperty(value = "维修类型（0 水电故障 / 1 家具损坏 / 2 其他）")
    private Integer type;
    @ApiModelProperty(value = "故障描述")
    private String des;
    @ApiModelProperty(value = "故障图片 URL")
    private String pic;
    @ApiModelProperty(value = "下单时间")
    private String orderTime;
    @ApiModelProperty(value = "订单状态（0 待派单 / 1 维修中 / 2 已完成 / 3 已取消）")
    private Integer status;
    @ApiModelProperty(value = "维修人员 ID（关联 maintainer_info 表，待派单时为 null）")
    private Long maintainerId;
    @ApiModelProperty(value = "服务星级（1-5 星，未评价时为 null）")
    private Integer star;
    @ApiModelProperty(value = "评价内容（未评价时为 null）")
    private String content;
    @ApiModelProperty(value = "创建时间")
    private Date createTime;
    @ApiModelProperty(value = "更新时间")
    private Date updateTime;
    @ApiModelProperty(value = "手机号")
    private String phone;
    @ApiModelProperty(value = "标题")
    private String title;
}
